package com.clear.decorator;

/**
 * 具体的装饰器
 */
public class ConcreteDecoratorTwo extends Decorator{

    public ConcreteDecoratorTwo(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        System.out.println("这是前边添加了行为----第二次包装");
        super.operation();
        System.out.println("这是后边添加了行为----第二次包装");
    }
}
